package jamirr;

public interface BeanInfo<B> {

    /**
     * @return The bean type
     */
    Class<B> getBeanType();

    default String getBeanName() {
        return getBeanType().getName();
    }

    /**
     * @return The generic bean type
     */
    default Argument<B> getGenericBeanType() {
        return Argument.of(getBeanType());
    }
}
